﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;

namespace BiffenModel
{
    [DataContract]
    public class Show
    {
        #region Attributes
        [DataMember]
        private int id;
        [DataMember]
        private DateTime date;
        [DataMember]
        private int movieID;
        #endregion

        #region Constructors
        public Show()
        {
            id = 0;
            date = new DateTime(1990, 12, 23);
            movieID = 0;
        }

        public Show(int id, DateTime date, int movieID)
        {
            this.id = id;
            this.date = date;
            this.movieID = movieID;
        }
        #endregion

        #region Get and Set Methods
        [DataMember]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        [DataMember]
        public DateTime Date
        {
            get { return date; }
            set { date = value; }
        }
        #endregion
    }
}
